/**********************************************************************
  The MIT License (MIT)
  Copyright (c) 2012 sunriseyuen

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files
  (the "Software"), to deal in the Software without restriction,
  including without limitation the rights to use, copy, modify, merge,
  publish, distribute, sublicense, and/or sell copies of the Software,
  and to permit persons to whom the Software is furnished to do so,
  subject to the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ***********************************************************************/

#define _DEF_CCY_CODE
#define _ZZDEBUG
#define _PROJ_DC

#region Using directives
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;

using Muki.Framework.Util;
using Muki.Framework.Business;
using Muki.Framework;
using Muki.UserDefine;
using Muki.Entity;
using Dot.StreamObject;

#endregion

namespace Muki.UserPanel
{
	public class UID02180AE:EntityObject
	{
				private string _REQ_CODE="";
				private string _UID_CODE="";
				private string _REQ_NAME01="";
				private string _REQ_NAME02="";
				private string _REQ_URL="";
				private string _REQ_OPT="";
				private DateTime _START_DATE=DateTime.MinValue;
				private string _START_TIME="";
				private DateTime _TASK_REQ_DATE=DateTime.MinValue;
				private string _TASK_REQ_TIME="";
				private string _START_CLASS="";
				private Int32 _START_OPT13=0;
				private bool _START_OPT01=false;
				private bool _START_OPT02=false;
				private bool _START_OPT03=false;
				private bool _START_OPT04=false;
				private bool _START_OPT05=false;
				private bool _START_OPT06=false;
				private bool _START_OPT07=false;
				private bool _START_OPT08=false;
				private bool _START_OPT09=false;
				private bool _START_OPT10=false;
				private bool _START_OPT11=false;
				private bool _START_OPT12=false;
				private string _START_OPT15="";
				private string _REQ_RMKS="";
				private bool _START_BIT=false;
				private string _REQ_STATUS="";
				private string _REQ_USER="";

				[AttributeMapping(TableName="ZNREQTBM",ColumnName="REQ_CODE")]
					public string REQ_CODE	{	get { return _REQ_CODE; }	set { _REQ_CODE = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="UID_CODE")]
					public string UID_CODE	{	get { return _UID_CODE; }	set { _UID_CODE = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="REQ_NAME01")]
					public string REQ_NAME01	{	get { return _REQ_NAME01; }	set { _REQ_NAME01 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="REQ_NAME02")]
					public string REQ_NAME02	{	get { return _REQ_NAME02; }	set { _REQ_NAME02 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="REQ_URL")]
					public string REQ_URL	{	get { return _REQ_URL; }	set { _REQ_URL = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="REQ_OPT")]
					public string REQ_OPT	{	get { return _REQ_OPT; }	set { _REQ_OPT = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_DATE")]
					public DateTime START_DATE	{	get { return _START_DATE; }	set { _START_DATE = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_TIME")]
					public string START_TIME	{	get { return _START_TIME; }	set { _START_TIME = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="TASK_REQ_DATE")]
					public DateTime TASK_REQ_DATE	{	get { return _TASK_REQ_DATE; }	set { _TASK_REQ_DATE = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="TASK_REQ_TIME")]
					public string TASK_REQ_TIME	{	get { return _TASK_REQ_TIME; }	set { _TASK_REQ_TIME = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_CLASS")]
					public string START_CLASS	{	get { return _START_CLASS; }	set { _START_CLASS = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_OPT13")]
					public Int32 START_OPT13	{	get { return _START_OPT13; }	set { _START_OPT13 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_OPT01")]
					public bool START_OPT01	{	get { return _START_OPT01; }	set { _START_OPT01 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_OPT02")]
					public bool START_OPT02	{	get { return _START_OPT02; }	set { _START_OPT02 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_OPT03")]
					public bool START_OPT03	{	get { return _START_OPT03; }	set { _START_OPT03 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_OPT04")]
					public bool START_OPT04	{	get { return _START_OPT04; }	set { _START_OPT04 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_OPT05")]
					public bool START_OPT05	{	get { return _START_OPT05; }	set { _START_OPT05 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_OPT06")]
					public bool START_OPT06	{	get { return _START_OPT06; }	set { _START_OPT06 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_OPT07")]
					public bool START_OPT07	{	get { return _START_OPT07; }	set { _START_OPT07 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_OPT08")]
					public bool START_OPT08	{	get { return _START_OPT08; }	set { _START_OPT08 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_OPT09")]
					public bool START_OPT09	{	get { return _START_OPT09; }	set { _START_OPT09 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_OPT10")]
					public bool START_OPT10	{	get { return _START_OPT10; }	set { _START_OPT10 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_OPT11")]
					public bool START_OPT11	{	get { return _START_OPT11; }	set { _START_OPT11 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_OPT12")]
					public bool START_OPT12	{	get { return _START_OPT12; }	set { _START_OPT12 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_OPT15")]
					public string START_OPT15	{	get { return _START_OPT15; }	set { _START_OPT15 = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="REQ_RMKS")]
					public string REQ_RMKS	{	get { return _REQ_RMKS; }	set { _REQ_RMKS = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="START_BIT")]
					public bool START_BIT	{	get { return _START_BIT; }	set { _START_BIT = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="REQ_STATUS")]
					public string REQ_STATUS	{	get { return _REQ_STATUS; }	set { _REQ_STATUS = value; } }
				[AttributeMapping(TableName="ZNREQTBM",ColumnName="REQ_USER")]
					public string REQ_USER	{	get { return _REQ_USER; }	set { _REQ_USER = value; } }

		public List<LogisticException> Exceptions=new List<LogisticException>();

		private string _DATA_ATVT_CODE   = "";
		private string _DATA_STATUS_CODE = "Unproven";
		private string _NAVI_STATUS_CODE = "N";
		private string _ATVT_CODE        = "";
		private string _P_DATA           = "";
		private Wxf    _Wxf              = new Wxf();

		public  string DATA_STATUS_CODE { get { return _DATA_STATUS_CODE; } set { _DATA_STATUS_CODE = value; }  }
		public  string NAVI_STATUS_CODE { get { return _NAVI_STATUS_CODE; } set { _NAVI_STATUS_CODE = value; }  }
		public  string DATA_ATVT_CODE   { get { return _DATA_ATVT_CODE;   } set { _DATA_ATVT_CODE   = value; }  }
		public  string ATVT_CODE        { get { return _ATVT_CODE;        } set { _ATVT_CODE        = value; }  }
		public  string P_DATA           { get { return _P_DATA;           } set { _P_DATA = value;           }  }
		public  Wxf    Wxf              { get { return _Wxf;              } set { _Wxf = value;              }  }

		public string  PK_DATA
		{
			get
			{
				return ZZGeneral.Base64Encoder("REQ_CODE="+this.REQ_CODE); 
			}
		}

		private string _USECURITY_CODE1 = "";
		private string _USECURITY_CODE2 = "";
		private string _USECURITY_CODE3 = "";
		private string _USECURITY_CODE4 = "";
		private string _USECURITY_CODE5 = "";
		private string _USECURITY_CODE6 = "";
		private int    _USECURITY_RIGHT = 50;
		private string _UZADD_DATE      = "";
		private string _UZADD_USER      = "";
		private string _UZCHG_DATE      = "";
		private string _UZCHG_USER      = "";

		public string USECURITY_CODE1 { get { return _USECURITY_CODE1; } set { _USECURITY_CODE1 = value; }  }
		public string USECURITY_CODE2 { get { return _USECURITY_CODE2; } set { _USECURITY_CODE2 = value; }  }
		public string USECURITY_CODE3 { get { return _USECURITY_CODE3; } set { _USECURITY_CODE3 = value; }  }
		public string USECURITY_CODE4 { get { return _USECURITY_CODE4; } set { _USECURITY_CODE4 = value; }  }
		public string USECURITY_CODE5 { get { return _USECURITY_CODE5; } set { _USECURITY_CODE5 = value; }  }
		public string USECURITY_CODE6 { get { return _USECURITY_CODE6; } set { _USECURITY_CODE6 = value; }  }
		public int    USECURITY_RIGHT { get { return _USECURITY_RIGHT; } set { _USECURITY_RIGHT = value; }  }
		public string UZADD_DATE      { get { return _UZADD_DATE;      } set { _UZADD_DATE      = value; }  }
		public string UZADD_USER      { get { return _UZADD_USER;      } set { _UZADD_USER      = value; }  }
		public string UZCHG_DATE      { get { return _UZCHG_DATE;      } set { _UZCHG_DATE      = value; }  }
		public string UZCHG_USER      { get { return _UZCHG_USER;      } set { _UZCHG_USER      = value; }  }

	}
}
